package com.lxyk.mapper;

import com.lxyk.pojo.Order;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * @ClassName OrderMapper
 * @Description TODO
 * @Author FJQ
 * @Date 2022/11/30 15:52
 * @Version 1.0
 **/
@Mapper
@Repository
public interface OrderMapper {

    //新建订单
    void create(Order order);

    //修改订单状态   0改为1
    void update(@Param("userId") Long userId,@Param("status") Integer status);
}
